package com.chb.strategy;

/**
 * @author chihb
 * @create-time 2024/10/24 17:13
 * @description
 */
public class Test {
    public static void main(String[] args) {
        Context context1 = new Context(new Method1());
        context1.show();
        Context context2 = new Context(new Method2());
        context2.show();
        Context context3 = new Context(new Method3());
        context3.show();
    }
}
